package com.spring.design.facade;

/**
 * 外观模式   案例Mybatis中的Configuration 去创建MetaObject 对象使用到外观模式
 */
public class Client {
	public static void main(String[] args) {
		//直接调用很麻烦
		HomeTheaterFacade homeTheaterFacade = new HomeTheaterFacade();
		homeTheaterFacade.ready();
		homeTheaterFacade.play();

		homeTheaterFacade.end();
	}
}
